package com.example.deliveryapp;

public class Restaurant {
    private String name;
    private String description;
    private float rating;
    private int coverImageResourceId; // 对应本地 drawable 资源的 ID
    private int avatarImageResourceId; // 对应本地 drawable 资源的 ID

    // Constructor, getters and setters

    public Restaurant(String name, String description, float rating, int coverImageResourceId, int avatarImageResourceId) {
        this.name = name;
        this.description = description;
        this.rating = rating;
        this.coverImageResourceId = coverImageResourceId;
        this.avatarImageResourceId = avatarImageResourceId;
    }


    public String getName() {
        return name;
    }

    public String getDescription() {
        return description;
    }

    public float getRating() {
        return rating;
    }

    public int getCoverImageResourceId() {
        return coverImageResourceId;
    }

    public int getAvatarImageResourceId() {
        return avatarImageResourceId;
    }
}